package com.itheima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.dtos.WmMaterialDTO;
import com.heima.model.common.mededia.pojo.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialService extends IService<WmMaterial> {

    ResponseResult uploadPicture(MultipartFile multipartFile);

    ResponseResult findList(WmMaterialDTO wmMaterialDTO);

    ResponseResult delete(Integer id);


    ResponseResult collectOrCancle(Integer id, Short cancelCollectMaterial);
}
